<html>

<head>
    <meta charset="UTF-8"> {{include 'shared/_common_top'}}
    <title>Blog信息展示</title>
    <style></style>
</head>

<body>
    <div class="container">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h3 class="panel-title">Blog信息展示</h3>
            </div>
            <div class="panel-body">

                <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2">
                    <div class="list-group">
                        <a href="/user/main" class="list-group-item">全部</a>
                    </div>
                    {{each types}}
                    <div class="list-group">
                        <a href="/user/main/{{$value.name}}" class="list-group-item">{{$value.name}}</a>
                    </div>
                    {{/each}}

                </div>

                <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
                    {{each blogs}}
                    <div class="list-group">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">[ {{$value.code}} ] {{$value.title}}</h3>
                            </div>
                            <div class="panel-body">
                                {{#$value.content}}
                            </div>
                        </div>
                    </div>
                    {{/each}}
                </div>

            </div>
        </div>
    </div>
    {{include 'shared/_common_bottom'}}
</body>

</html>